package com.hunt.service.impl;

import com.hunt.dao.ExChangeMapper;
import com.hunt.dao.IndexNewsMapper;
import com.hunt.model.entity.ExChangeDetail;
import com.hunt.model.entity.ExChangeLogInfo;
import com.hunt.service.ExChangeLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Service
@Transactional
public class ExChangeLogServiceImpl implements ExChangeLogService {
    @Autowired
    private ExChangeMapper exchangemapper;
    @Override
    public List<ExChangeLogInfo> findExChangeLogInfoByPage(String time, Integer sizeUp) {
        return exchangemapper.findExChangeLogInfoByPage(time,sizeUp);
    }

    @Override
    public ExChangeDetail findExChangeDetailBydatatime(String datatime) {
        return exchangemapper.findExChangeDetailBydatatime(datatime);
    }
}
